package org.ricks.condition2.test;

import org.ricks.condition2.Condition;

public class RewardService {


    public boolean canClaimReward(String playerId, String conditionId) {
        ConditionConfig claimCondition = loadClaimCondition(conditionId);
        Condition condition = ConditionParser.parseCondition(playerId, claimCondition);
        return condition.isDone();
    }

    private ConditionConfig loadClaimCondition(String conditionId) {
        return new ConditionConfig();
    }
}
